Extension point permissionsVisibility
In component org.nuxeo.ecm.core.security.SecurityService
Documentation
Extension point to register permission visibility in user interface or override existing settings.
Example to define the default list of permissions that are manageable through the UI screens:
<visibility>
<item order="10" show="true">Read</item>
<item order="50" show="true">ReadWrite</item>
<item order="100" show="true">Everything</item>
</visibility>
This list of options items will be displayed if no type specific settings are registered.
Example to define the default list of permissions that are specific to the Section document type:
<visibility type="Section">
<item order="10" show="true">Read</item>
<item order="100" show="true">Everything</item>
</visibility>
Note: the 'show' attribute defaults to 'true' and the 'order' attribute defaults to '0'.
Contribution Descriptors
- Class: org.nuxeo.ecm.core.security.PermissionVisibilityDescriptor
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="permissionsVisibility" target="org.nuxeo.ecm.core.security.SecurityService"> <visibility type="DocumentRoute"> <item order="20" show="true">DataVisualization</item> </visibility> </extension>
-
<extension point="permissionsVisibility" target="org.nuxeo.ecm.core.security.SecurityService"> <visibility type="Section"> <item order="150" show="true">CanAskForPublishing</item> </visibility> <visibility type="SectionRoot"> <item order="150" show="true">CanAskForPublishing</item> </visibility> </extension>
-
<extension point="permissionsVisibility" target="org.nuxeo.ecm.core.security.SecurityService"> <visibility> <item order="10" show="true">Read</item> <item denyPermission="Write" order="50" show="true">ReadWrite</item> <item order="100" show="true">Everything</item> </visibility> </extension>
-
<extension point="permissionsVisibility" target="org.nuxeo.ecm.core.security.SecurityService"> <visibility type="Collection"> <item order="20" show="true">ReadCanCollect</item> </visibility> </extension>